package struts2.sample06.mapping;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 従業員
 */
@Entity
@Table(name="employees")
public class Employee {

	/** ID */
	@Id
	@Column(name="id")
	public int id;

	/** 名 */
	@Column(name="first_name")
	public String firstName;

	/** 姓 */
	@Column(name="last_name")
	public String lastName;

}
